#docker准备工作
#openjdk:8-jre
docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8-jre
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8-jre  docker.io/openjdk:8-jre

#mysql:8.0
docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql:8.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql:8.0  docker.io/mysql:8.0

#redis6.2
docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/redis:6.2
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/redis:6.2  docker.io/redis:6.2
#mongo 5.0.18
docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:5.0.18
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:5.0.18  docker.io/mongo:5.0.18

mkdir -p /opt/docker/mongo/config
mkdir -p /opt/docker/mongo/opt/docker
mkdir -p /opt/docker/mongo/logs
touch /opt/docker/mongo/config/mongod.conf
chmod 777 /opt/docker/mon

#rabbitmq:3.13.7-management
docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rabbitmq:3.13.7-management
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rabbitmq:3.13.7-management  docker.io/rabbitmq:3.13.7-management

mkdir -p /opt/docker/rabbitmq
chmod 777 /opt/docker/rabbitmq

#/nacos-server:v2.4.0
docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nacos/nacos-server:v2.4.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nacos/nacos-server:v2.4.0  docker.io/nacos/nacos-server:v2.4.0

mkdir -p /opt/docker/nacos/logs/
mkdir -p /opt/docker/nacos/conf/
chmod 777 -R /opt/docker/nacos


docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:1.21
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:1.21  docker.io/nginx:1.21

mkdir -p /opt/docker/nginx/conf
mkdir -p /opt/docker/nginx/log
mkdir -p /opt/docker/nginx/html
chmod 777 /opt/docker/nginx


docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node:14.15.4-alpine
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node:14.15.4-alpine  docker.io/node:14.15.4-alpine